package com.migraine.service;
import com.migraine.model.Users;


/**
 * 用户接口
 */
public interface UsersService {
    Users getUsers(String username);

    boolean insertUsers(String username,String password);

    boolean updateNameByName(String name1,String name2);

    boolean updatePwdByName(String name,String pwd);

    boolean updateImgById(int id,String img);

    boolean deleteByName(String username);


    boolean  deleteUsers(String username);

    boolean  changeName(String username);

    boolean  changePwd(String username);

    Users getUsers(int id);

    boolean setPhoto(String name,String photo);

}
